home *** CD-ROM | disk | FTP | other *** search
/ C/C++ Users Group Library 1996 July / C-C++ Users Group Library July 1996.iso / vol_400 / 436_01 / instats.h < prev    next >
Text File  |  1994-10-07  |  1KB  |  35 lines

  1. /*************************************************************************
  2.     Header file:  INSTATS.H
  3.  
  4.     INCON debug status declarations.
  5.  
  6.     Compiler:  Borland Turbo C 2.01
  7.  
  8.     INCON source files and the object and library files created from
  9.     them are:
  10.         Copyright (c) 1993-94, Richard Zigler.
  11.     You may freely distribute unmodified source, object, and library
  12.     files, and incorporate them into your own non-commercial software,
  13.     provided that this paragraph and the program name and copyright
  14.     strings defined in INCON.C are included in all copies.
  15. *************************************************************************/
  16.  
  17. const enum { X1 = 1, X2 = 80, Y1 = 20, Y2 = 25 };
  18.  
  19. #define STAT_WINDOW        X1,Y1,X2,Y2        /* status window coordinates        */
  20. #define NUM5                0x4C                /* [Numpad 5] displays stats        */
  21.  
  22. static int                    SaveSize = ((X2 - X1 + 1) * (Y2 - Y1 + 1)) * 2;
  23.  
  24. static struct text_info    TextInfo;            /* save caller's window stats    */
  25. static char                *    SaveScreen,            /* buffers for screen images    */
  26.                             *    SaveStats;
  27. static char                    StatsMask[] = "B BBB BB B B B B B B B B B B";
  28. static char                    StatsBuf[30];
  29. static WORD                *    StatFlags =            /* InconStats() accesses        */
  30.                                 (WORD *)&Flags;    /*  Flags structure as WORD    */
  31.  
  32. static void    pascal        Stats    ( STATES, WORD *                                    );
  33.  
  34. /**** EOF:  INSTATS.H ****/
  35.